import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { DictionaryItem } from '@app/db/common/entities/DictionaryItem';
import { BaseService } from '@app/db/base/base.service';

@Injectable()
export class DictionaryItemService extends BaseService<DictionaryItem>{
    constructor(
        @InjectRepository(DictionaryItem, 'common') protected repository:Repository<DictionaryItem>
    ) {
        super()
        this.primaryKey = 'id'
    }
}
